13.05.2011, 23:48
pawn Код:
new shick;
pawn Код:
shick = CreateVehicle(...); //Substitua o CreateVehicle pelo veнculo do VIP.
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(vehicleid == shick)
{
new pname[10];
if(strcmp(pname, "Shickcard", true) == 0) return SendClientMessage(playerid, Cor, "Bem vindo ao seu veiculo Shickcard!");
else
{
TogglePlayerControllable(playerid, 1);
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,COLOR_GREY,"Esta moto pertence a Iago_OwnZ.");
}
}
return 0x1;
}