16.09.2011, 21:58
Hi guys.
Well,today i have this pawn problem.
I Ve made a pickup,if you enter the pickup,you get Teleported to All Saints General hospital
but the problem is the new Pickup with the old pickup of, entering it and getting a Body armour,got mixed,dunno how or why?
Anyway,when i enter on the pickup,i gets TPed inside and i get a Body armour,if you help me you get +1rep and MUCH LOVE!
Here are the lines:
Well,today i have this pawn problem.
I Ve made a pickup,if you enter the pickup,you get Teleported to All Saints General hospital
but the problem is the new Pickup with the old pickup of, entering it and getting a Body armour,got mixed,dunno how or why?
Anyway,when i enter on the pickup,i gets TPed inside and i get a Body armour,if you help me you get +1rep and MUCH LOVE!
Here are the lines:
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{ //Bodyarmour pickup
if (pickupid == mypickup)
SendClientMessage(playerid, 0xAFAFAFAA, "You found a Body Armour.");
SetPlayerArmour(playerid, 100);
//Exit pickup of MEDICS
if(pickupid == mypickup2)
SendClientMessage(playerid, 0xAFAFAFAA, "You left the Hospital.");
SetPlayerPos(playerid,1172.9222,-1325.4296,15.3988);
return 1;
}