ELEGY HELP 2!
#1

Guys i don't know what's going on.
The command is ok, everything is ok.
When i type /elegy it spawns me under the map and i get frozen.
Here is the command.

pawn Код:
if (strcmp("/elegy", cmdtext, true, 10) == 0)
    {
    new Float: X, Float: Y, Float: Z, Float: A;
    new vehicleid[MAX_PLAYERS];
    if(IsPlayerInAnyVehicle(playerid))  return SendClientMessage(playerid, COLOR_RED, "ERROR: You are driving a vehicle.");
    if(vehicleid[playerid])
    {
        DestroyVehicle(vehicleid[playerid]);
    }
    vehicleid[playerid] = CreateVehicle(562, X, Y, Z, A, 0, 0, 0);
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, A);
    PutPlayerInVehicle(playerid, vehicleid[playerid], 0);
    return 1;
    }
+REP for the dude who help me.
Reply


Messages In This Thread
ELEGY HELP 2! - by necrobg3 - 19.08.2012, 11:37
Re: ELEGY HELP 2! - by sanplayer - 19.08.2012, 11:41
Re: ELEGY HELP 2! - by IceMeteor - 19.08.2012, 11:42
Re: ELEGY HELP 2! - by avivelkayam - 19.08.2012, 11:42
Re: ELEGY HELP 2! - by Youice - 19.08.2012, 11:42
Re: ELEGY HELP 2! - by necrobg3 - 19.08.2012, 11:59

Forum Jump:


Users browsing this thread: 1 Guest(s)