26.05.2010, 20:03
i want like you got to have certain Firstname_Lastname to enter the house onplayerpickup
new Pname[24];
GetPlayerName(playerid, Pname, 24);
if(/*Firstname_lastname check is wrong*/) return 0;
//Other stuff here.
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(strfind(name, "_", true)) {
//Enter the house...
} else return 0;
Originally Posted by Conroy
pawn Код:
|