HELP ME TO MAKE /RESCUE CMD PLEASE? :(
#1

Hi to all, i want to make /rescue cmd

So when somebody flying, driving and get crash his plane, boat or car and there is nowhere car near and player get little healt, hi call rescue team and become red on map ( part of army team ) or if have time to help me to create rescue team like team pd, fbi, army....
Any help?
Reply
#2

There is a request thread where you can ask
Reply
#3

Quote:
Originally Posted by buonggiorno
Hi to all, i want to make /rescue cmd

So when somebody flying, driving and get crash his plane, boat or car and there is nowhere car near and player get little healt, hi call rescue team and become red on map ( part of army team ) or if have time to help me to create rescue team like team pd, fbi, army....
Any help?
Code:
public OnPlayerCommandText(playerid,cmdtext[]){
if(strcmp("/rescue",cmdtext,true) == 0){
new Bastard[128],Basterd[MAX_PLAYER_NAME];
GetPlayerName(playerid,Basterd,sizeof(Basterd));
format(Bastard,sizeof(Bastard),"Players %s needs help!!!",Basterd);
return 1;
}
return 0;
}
this will send message when player need help
Reply
#4

Also use SetPlayerMapIcon
Reply
#5

It is basicest that ever can be made
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)