11.05.2013, 12:03
I got this cmd here
it's working fine for me, but I need so it can be used to a name more "Henrik_white" could anyone help me please
Код:
if(CarID == car1) { new PlayerName1[MAX_PLAYER_NAME]; GetPlayerName(playerid, PlayerName1, sizeof(PlayerName1)); if(strcmp(PlayerName1, "Melinda_Dawson", true) == 0) { SendClientMessage(playerid, RED,"Hey, welcome"); } else { SendClientMessage(playerid, RED, "You do not have the keys to this car"); new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid, X+2, Y+2, Z+2); } }