Zdravim , našel jsem si tu někdě jak udělat prefix .. ale vubec nevim jak to udělat pouze na rcon (že ja budu admin a nějakýmu hraci dam ten prefix) .. že bych třeba napsal /preop (idhrace) a zustalo by mu to i po odpojení ...
new name[24];
GetPlayerName(playerid,name,24);
format(name,24,"[OP]%s",name);
SetPlayerName(playerid,name);
a nebo
kdybych to měl takhle
#include
public OnPlayerSpawn(playerid)
{
if(strcmp(nam(playerid),"gymi",true) == 0)
{
new name[24];
GetPlayerName(playerid,name,24);
format(name,24,"[OP]%s",name);
SetPlayerName(playerid,name);
}
return 1;
}
tohle mi píše že error 017: undefined symbol "nam"
Dotaz
Zahis 0
Zdravim , našel jsem si tu někdě jak udělat prefix .. ale vubec nevim jak to udělat pouze na rcon (že ja budu admin a nějakýmu hraci dam ten prefix) .. že bych třeba napsal /preop (idhrace) a zustalo by mu to i po odpojení ...
a nebo
kdybych to měl takhle
tohle mi píše že error 017: undefined symbol "nam"
takže jak to mam napsat nahoru #defined a ?
Moc díky za odpověd
Link to comment
Share on other sites
14 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