27.11.2016, 19:14
Whats the right way to do it i trying to do in only one line:
To
PHP код:
else if(vid >= 133 && vid <= 142) { if(org[playerid] != 7) return DontHaveKeys(playerid, "BALLAS"); }
PHP код:
error 035: argument type mismatch (argument 2)
PHP код:
forward DontHaveKeys(playerid, keysownersname); public DontHaveKeys(playerid, keysownersname) {
new string[80];
format(string, sizeof(string), "You are not a %s so you cant turn on this car", keysownersname );
SendClientMessage(playerid, -1, string);
return 1;
}