26.10.2012, 13:09
Hey buddys!
little problem, I know, itґs a stupid topic but, I dont know, what I do wrong!
Iґm sorry, if I write too much in "Scripting Help", but I want to finish my CarHouseSystem.
Here is the stupid error(sorry for this word)
And the code:
I have more from code, but the rest of the code does not match to this
I want, when the player is in the car, he can do nothing, so I try that. but...
THEEESE warning..
And a Question too, how you can start the pawn code?
also (php) script(/php) how do you do that?
little problem, I know, itґs a stupid topic but, I dont know, what I do wrong!
Iґm sorry, if I write too much in "Scripting Help", but I want to finish my CarHouseSystem.
Here is the stupid error(sorry for this word)
PHP Code:
Line (341): The number of parameters is incorrect
PHP Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
for(new i = 0; i < sizeof(grotticars); i++)
{
if(OnPlayerEnterVehicle(playerid, vehicleid) == grotticars[i]) //error is here
{
TogglePlayerControllable(playerid, true);
}
else
{
}
}
I want, when the player is in the car, he can do nothing, so I try that. but...
THEEESE warning..
And a Question too, how you can start the pawn code?
also (php) script(/php) how do you do that?