21.04.2012, 11:24
Quote:
Guys im getting errors can u put them in this script :
Код:
#include <a_samp> //beacon public OnPlayerCommandText( playerid, cmdtext[ ] ) { if(strcmp(cmdtext, "/beacon", true) == 0) { if(!IsPlayerInAnyVehicle(playerid)) { SendClientMessage(playerid,0xFFFFFFFFF,"You Need to be in vehicle !"); } else { SetPlayerColor(playerid, 0xFFFF00FF); SendClientMessage(playerid,0xFFFFFFFFF,"You are Beacon !"); } return 1; } return 0; } |