11.11.2009, 16:49
Quote:
Originally Posted by ()ZzY
How I make on this command a text?
I tried to do, but nothing THANKS |
pawn Код:
//=====================[ Vama1 ]====================================================================================
if(!strcmp(cmdtext, "/vamasf", true))
{
if(PlayerInfo[playerid][pPassport] == 1)
{
if(PlayerToPoint(2.0,playerid,-991.1277,-1009.0092,94.3856))
{
SetObjectRot(vama1,2.5783, 21.4859, 225.8595);
SetTimer("GateClose", 5000, 0);
SendClientMessage(playerid, COLOR_LIGHTRED, "Welcome to San Fierro");
GivePlayerMoney(playerid,-50);
}
}
else
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Nu ai pasaport , du-te la primarie si iati");
}
return 1;
}
if that's true, you check if PlayerInfo[playerid][pPassport] == 0, what automaticly is no, so the tekst won't appear and the object won't move, try my code
![Wink](images/smilies/wink.png)