djvale5 0 Odesláno: 9. Září, 2013 Share Odesláno: 9. Září, 2013 #include <a_samp> #pragma tabsize 0 public OnPlayerText(playerid, text[]) { new string[128]; format(string, 128, "[RCON ADMIN]%s : %s",PlayerName(playerid), text); SendClientMessageToAll(GetPlayerColor(playerid), string); return 0; } Mám problém s týmto statusom pred hráča keď niečo napíše , ale hádže errory ! Link to comment Share on other sites More sharing options...
0 jakefeels 3 Odesláno: 9. Září, 2013 Share Odesláno: 9. Září, 2013 napíš tie errory Link to comment Share on other sites More sharing options...
0 wifi952 3 Odesláno: 9. Září, 2013 Share Odesláno: 9. Září, 2013 pravdepodobne nemáš vytvorenú funkciu PlayerName Link to comment Share on other sites More sharing options...
0 jakefeels 3 Odesláno: 9. Září, 2013 Share Odesláno: 9. Září, 2013 public onplayertext(......) { if(IsPlayerAdmin(playerid) == 1){ new str[128]; new meno[50]; GetPlayerName(playerid, meno, 50); format(str, 128, "[rcon admin] %s : %s", meno, text); SendClientMessageToAll(-1, str); return 0; } ...... return 1; } Link to comment Share on other sites More sharing options...
0 Amenadiel 286 Odesláno: 9. Září, 2013 Share Odesláno: 9. Září, 2013 ješte je problem? Link to comment Share on other sites More sharing options...
Dotaz
djvale5 0
Mám problém s týmto statusom pred hráča keď niečo napíše , ale hádže errory !
Link to comment
Share on other sites
4 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now