C:\Users\Val\Desktop\PAWN\GAMEMODES\samp 0.3.7\gamemodes\gm.pwn(136) : error 017: undefined symbol "x" C:\Users\Val\Desktop\PAWN\GAMEMODES\samp 0.3.7\gamemodes\gm.pwn(13 : error 017: undefined symbol "x" C:\Users\Val\Desktop\PAWN\GAMEMODES\samp 0.3.7\gamemodes\gm.pwn(134) : warning 203: symbol is never used: "Float" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors. |
new Float, Float:y, Float:z, Float:angle; GetPlayerPos(playerid, x, y, z); new veh = CreateVehicle(vehicleid, x, y, z, angle, -1, -1, -1); |
new Float:x, Float:y, Float:z, Float:angle;
GetPlayerPos(playerid, x, y, z);
new veh = CreateVehicle(vehicleid, x, y, z, angle, -1, -1, -1);
if(strcmp(cmdtext, "/cv", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid)) //se o jogador estiver em um veiculo a mensagem abaixo serб exibida
return SendClientMessage(playerid, VERMELHO, "Vocк jб esta em um veiculo");
new Float:X,Float:Y,Float:Z, Float:A;
GetPlayerPos(playerid,X,Y,Z);
AddStaticVehicle(470, X, Y+5, Z, A, 6, 6);
return SendClientMessage(playerid, VERDE, "Carro criado.");
}