18.03.2011, 19:46
Try this
I did not tested.
thanks
pawn Код:
if (strcmp("/vworld 1", cmdtext, true, 10) == 0)
{
if(GetPlayerScore(playerid) >= 13)
{
SetPlayerVirtualWorld(playerid, 1);
}
else if (IsPlayerInAnyVehicle(playerid))
{
SetPlayerVirtualWorld(playerid, 1);
}
else SendClientMessage(playerid, 0xffff00aa, "You must have 13 lvl.");
return 1;
}
thanks