Help Me Please
#1

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;
}
Reply
#2

Quote:
Originally Posted by OoSaSaOo
Hi I Have A Problem With Pawn :

Код:
1746 public OnVehicleSpawn(vehicleid)
1747{
1748 GameTextForPlayer(vehicleid,"You Spawned A Vehicle",2500,3);}
1749 return 1;}
1750}
What Wrong With That
pawn Код:
public OnVehicleSpawn(vehicleid)
{
GameTextForPlayer(vehicleid,"You Spawned A Vehicle",2500,3);
return 1;}
Reply
#3

pawn Код:
public OnVehicleSpawn(vehicleid)
{
GameTextForPlayer(vehicleid,"You Spawned A Vehicle",2500,3);}
return 1;
}
you did after return1; a "}"
don't do that
Reply
#4

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;
}
Reply
#5

Thanks All I always Forget Little Things Very Easy But What About:
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
 ChangePlayerScreenCoulour(playerid, RED, 6, 192);
 return 1;
}
Reply
#6

Send us the error you got
Reply
#7

Код:
 error 017: undefined symbol "ChangePlayerScreenCoulour"
Reply
#8

Quote:
Originally Posted by OoSaSaOo
Код:
 error 017: undefined symbol "ChangePlayerScreenCoulour"
new ChangePlayerScreenCoulour;
maby?
Reply
#9

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?
Reply
#10

SetPlayerScreenColor isnt a default pawno native, so unless you manually created the function, you will get errors.

Btw, it is Color; not Coulours.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)