20.10.2011, 23:50
(
Последний раз редактировалось Kakioshe22; 21.10.2011 в 00:15.
Причина: mistake
)
PHP код:
new pickup1;
new pickup2;
PHP код:
pickup1 = CreatePickup(1318, 19, 2763.7703,1269.7902,10.7500);
pickup2 = CreatePickup(1318, 19, 1437.1281,-1062.7485,213.3828);
PHP код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == pickup1)
{
SetPlayerPos(playerid, 1444.4569,-1070.2080,213.3828);
SendClientMessage(playerid, 0xFFFF00FF, "You have been teleported to the party!");
if(pickupid == pickup2)
SetPlayerPos(playerid, -1299.0413,-291.0421,14.1484);
SendClientMessage(playerid, 0xFFFF00FF, "Welcome to the San Fiero Airport!");
return 1;
}
return 0;
}