02.07.2012, 00:54
When I do this command:
Then try use this command:
It doesn't allow me to select the spike strip?
pawn Код:
command(spikestr, playerid, params[])
{
Spikes++;
if(SO[0] == 0)
{
new Float:x, Float:y, Float:z, Float:a;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, a);
SO[0] = CreateObject(2899, x, y, z-0.8, 0, 0, 10.0);
}
else return SendClientMessage(playerid, -1, "No.");
return 1;
}
pawn Код:
command(select, playerid, params[])
{
SelectObject(playerid);
return 1;
}