- 0
Problema masini personale
-
Similar Content
-
- 7 replies
- 337 views
-
- 2 answers
- 643 views
-
Problema turf
By Soryn.,
- 3 answers
- 411 views
-
- 0 replies
- 159 views
-
- 2 replies
- 331 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
SkyLzo98
Am nevoie de ajutor, normal ar trebui sa ma lase sa intru in masina, dar ma scoate afara spunandumi ca nu sunt eu ownerul masinii
[pawn]#include <a_samp>
new SkyLzo98;
public OnGameModeInit()
SkyLzo98 = AddStaticVehicle(411, 1799.6177, -1854.6157, 14.8478, 0.0000, 1, 0);
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) == SkyLzo98)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(strcmp(name, "SkyLzo98", false))
SendClientMessage(playerid, 0x281aeb, "Bine ai venit in masina ta, SkyLzo98");
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, 0x281aeb, "Aceasta masina nu iti apartine!Apartine lui SkyLzo98");
}
}
return 1;
}
[/pawn]
Daca vreti sa vorbim add skype: skilzo98
Link to comment
Share on other sites
7 answers to this question
Recommended Posts