Help Me Please - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help Me Please (
/showthread.php?tid=112332)
Help Me Please -
OoSaSaOo - 06.12.2009
Hi I Have A Problem With Pawn :
Код:
1746 public OnVehicleSpawn(vehicleid)
1747 {
1748 GameTextForPlayer(vehicleid,"You Spawned A Vehicle",2500,3);}
1749 return 1;}
What Wrong With That
And This Too :
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
ChangePlayerScreenCoulour(playerid, RED, 6, 192);
return 1;
}
Re: Help Me Please -
LarzI - 06.12.2009
Quote:
Originally Posted by OoSaSaOo
|
pawn Код:
public OnVehicleSpawn(vehicleid)
{
GameTextForPlayer(vehicleid,"You Spawned A Vehicle",2500,3);
return 1;}
Re: Help Me Please -
PANNA - 06.12.2009
pawn Код:
public OnVehicleSpawn(vehicleid)
{
GameTextForPlayer(vehicleid,"You Spawned A Vehicle",2500,3);}
return 1;
}
you did after return1; a "}"
don't do that
Re: Help Me Please -
Blt950 - 06.12.2009
Lol, you are closing brackets you didnt even open thats the problem
Try this
pawn Код:
public OnVehicleSpawn(vehicleid)
{
GameTextForPlayer(vehicleid,"You Spawned A Vehicle",2500,3);
return 1;
}
Re: Help Me Please -
OoSaSaOo - 06.12.2009
Thanks All I always Forget Little Things Very Easy

But What About
:
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
ChangePlayerScreenCoulour(playerid, RED, 6, 192);
return 1;
}
Re: Help Me Please -
Blt950 - 06.12.2009
Send us the error you got
Re: Help Me Please -
OoSaSaOo - 06.12.2009
Код:
error 017: undefined symbol "ChangePlayerScreenCoulour"
Re: Help Me Please -
Anthony_Brassi - 06.12.2009
Quote:
Originally Posted by OoSaSaOo
Код:
error 017: undefined symbol "ChangePlayerScreenCoulour"
|
new ChangePlayerScreenCoulour;
maby?
Re: Help Me Please -
Grim_ - 06.12.2009
Quote:
Originally Posted by Anthony_Brassi
Quote:
Originally Posted by OoSaSaOo
Код:
error 017: undefined symbol "ChangePlayerScreenCoulour"
|
new ChangePlayerScreenCoulour;
maby?
|
That makes a variable, not a function.
Anyways, where did you see the function "ChangePlayerScreenColour" from?
Re: Help Me Please -
lolumadd - 06.12.2009
SetPlayerScreenColor isnt a default pawno native, so unless you manually created the function, you will get errors.
Btw, it is Color; not Coulours.