- 0
Problema Pawno
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
segayo
Salut,am si eu o problema la pawn
Cand incerc sa fac o masina personala si dau compile imi da o eroare Pawn Compiler Library has stopped working.
Am facut asa
#include <a_samp>
new privatecar;
public OnFilterScriptInit()
{
privatecar = CreateVehicle(560,1081.1880,-322.9943,73.6979,270.7637,17,1);
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate);
{
new vehicleid = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER)
{
if(vehicleid == privatecar)
{
if(strcmp(GetName(playerid), "BrocK", true) == 0)
{
return 1;
}
else
{
RemovePlayerFromVehicle(playerid);
}
} }
return 1;
}
stock GetName(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof name);
return name;
}
si dau compile,imi da eroare
uitati un screenshot: http://imageshack.us/photo/my-images/845/unledawqc.png/
va rog ajutatima..Folosesc windows 7
6 answers to this question
Recommended Posts