03.07.2013, 19:39
Nevermind fixed it but
This spam too:
This spam too:
pawn Код:
CMD:entergarage(playerid, params[])
{
for(new h = 0; h < sizeof(GarageInfo); h++)
{
if(IsPlayerInRangeOfPoint(playerid,2.0,GarageInfo[h][gExteriorX], GarageInfo[h][gExteriorY], GarageInfo[h][gExteriorZ]) )
{
if(GarageInfo[playerid][gOwned] == 1 )
{
SetPlayerPos(playerid,GarageInfo[h][gInteriorX],GarageInfo[h][gInteriorY],GarageInfo[h][gInteriorZ]);
GameTextForPlayer(playerid, "~w~Welcome to your garage!", 5000, 3);
}
else
{
SendClientMessage(playerid, 0x33CCFFAA, "You don't have a garage.");
}
}
else
{
SendClientMessage(playerid, 0x33CCFFAA, "You are not near to your garage to enter.");
}
}
return 1;
}
Quote:
SendClientMessage(playerid, 0x33CCFFAA, "You are not near to your garage to enter."); |