- 0
Problema Pawno
-
Similar Content
-
Problema turf
By Soryn.,
- 3 answers
- 263 views
-
- 1 reply
- 179 views
-
Problema
By ImJustSlim,
- 3 answers
- 286 views
-
- 2 replies
- 158 views
-
- 1 answer
- 312 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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
Link to comment
Share on other sites
6 answers to this question
Recommended Posts