Help Scritp
#1

How do I get that for a player? /Wheelchair [id]

Код:
CMD:Wheelchair(playerid, params[])
{
new string[128];
if(Team_SAMD(playerid)){
ApplyAnimation(playerid, "PED", "SEAT_IDLE", 4.1, 0, 0, 0, 1, 0, 1);
SetPlayerAttachedObject(playerid,2,1369,1,-0.276000,0.089999,-0.011999,178.699661,92.599975,3.100000,0.876001,0.734000,0.779000);
playerWheelchair[playerid]=1;
}
return 1;
}
Reply
#2

PHP код:
CMD:Wheelchair(playeridparams[])
{
new 
string[128], plid;
if(
sscanf(params"d"plid)) return SendClientMessage(playerid, -"Use: /Wheelchair [id]);
if(Team_SAMD(plid)){
ApplyAnimation(plid, "
PED", "SEAT_IDLE", 4.1, 0, 0, 0, 1, 0, 1);
SetPlayerAttachedObject(plid,2,1369,1,-0.276000,0.089999,-0.011999,178.699661,92.599975,3.100000,0.876001,0.734000,0.779000);
playerWheelchair[plid]=1;
}
return 1;

Reply
#3

Thanks +1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)