11.02.2012, 17:58
pawn Код:
if(strcmp(cmdtext, "/mycar", true)==0 )
{
new pOwnerName[MAX_PLAYER_NAME];
new Float:x, Float:y, Float:z;
GetPlayerName(playerid,pOwnerName,sizeof(pOwnerName));
if(strcmp("[EDZ]Kidoz",pOwnerName,true) == 0)
{
if(!IsPlayerInAnyVehicle(playerid))
{
GetPlayerPos(playerid,x,y,z);
SetVehiclePos(mycar,x+5,y,z);
GameTextForPlayer(playerid, "Wellcome to Your Car", 3000, 5);
}
}
