25.04.2012, 05:57
Hmm... Thats Close to what i had so I'll just fix my errors.
Cheers for your help
Just incase your thinking it's nothing like what i had, this is what i had before editing my post above :P
I Had just forgot to add the string, thanks for that :P
But thank you for your help, Greatly appreciated
Cheers for your help
Just incase your thinking it's nothing like what i had, this is what i had before editing my post above :P
pawn Код:
command(seatbelt,playerid,params[])
{
#pragma unused params
if(WearingSeatbelt[playerid])
{
WearingSeatbelt[playerid] = 0;
SendClientMessage(playerid, COLOR_GREY, "You have taken off seatbelt");
format(chat,sizeof(chat), "%s clips his seatbelt on.", GetPlayerNameEx(playerid), chat);
ProximityMessage(playerid, 20, chat, ACTION_1, ACTION_2, ACTION_3, ACTION_4, ACTION_5);
}
else if(!WearingSeatbelt[playerid])
{
WearingSeatbelt[playerid] = 1;
SendClientMessage(playerid, COLOR_GREY, "You put seatbelt on");
}
return 1;
}
But thank you for your help, Greatly appreciated